package pack1021.interface1;

public class App {

    private static void a(){
        Vehicle v1 = new Car();
        Vehicle v2 = new Bicycle();
        v1.start();
        v1.stop();
        v2.start();
        v2.stop();
    }

    public static void main(String[] args) {
        a();
    }
}